<!--
 * @Date: 2023-02-22 11:38:32
 * @LastEditors: mengqingchen mengqc1995@163.com
 * @LastEditTime: 2023-03-01 16:40:10
 * @FilePath: \sososn-web-new\src\views\bulkIndustry\index.vue
-->
<template>
  <div class="bulkIndustry">
    <bulk-top />
    <industrial-core />
    <industrial-value />
    <industrial-advantage />
    <industrial-case />
  </div>
</template>

<script setup>
import bulkTop from './component/bulkTop.vue'
import industrialCore from './component/industrialCore.vue'
import industrialCase from './component/industrialCase.vue'
import industrialValue from './component/industrialValue.vue'
import industrialAdvantage from './component/industrialAdvantages.vue'

import { bulkIndustry, smartMarket, inquirPolicy } from './js/useObject'
import { useRoute } from 'vue-router'

const route = useRoute()

const getData = flag => {
  const obj = {
    bulkIndustry,
    smartMarket,
    inquirPolicy
  }
  return obj[flag]
}
const obj = getData(route.params.product)
provide('productData', obj)
</script>

<style></style>
